/*------------全局样式-----------*/
html, body, ul, li, span, p, div,
a, form, input, button, img, h1,
h2, h3, h4, h5, h6, header, td,
th, dd, dl, tr, table, footer, main,
aside, article, section, select, option {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  font-size: 100px;
  height: 100%;
}

body {
  font-size: 16px;
  height: 100%;
}

ul, li {
  list-style: none;
}

a {
  text-decoration: none;
}

#app {
  height: 100%;
}

/*tap-warps*/
.tap-warps {
  height: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .32rem;
}

.tap-warps .tap-items {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

/*1px地边框*/
.bd-1px {
  background-color: black;
  height: 1px;
  width: 200%;
  transform: scale(0.5) translateX(-50%);
}

/*激活状态的样式*/
.active {
  color: #ffffff;
  font-weight: bold;
  background-color: #a2cdff;
}

/*商品列表*/
.goods-list-wrap {
  height: calc(100vh - 1rem);
  overflow: hidden;
  width: 100%;
}

.goods-list {
  overflow: hidden;
}

.goods {
  height: 2rem;
  display: flex;
  font-size: .32rem;
  border-bottom:1px solid #ddd;
  color: #494949;
}

.img-wrap {
  flex: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-wrap img {
  width: 80%;
}

.info-wrap {
  flex: 5;
  display: flex;
  justify-content: space-around;
  flex-direction: column;
}

.goods-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.goods-price {
  font-size: .32rem;
  color: red;
  font-weight: bold;
}
